package com.infore.qualityControl.remoteService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.infore.qualityControl.select.dto.QueryParamDto;
import com.infore.qualityControl.util.ResultEntity;
/**
 * 站点管理服务远程接口
 * @author e
 *
 */
@FeignClient(name = "SiteManagement-Service", url = "localhost:61007/SiteManagement-Service/")
public interface ISiteManageService {
	/** 获取站点信息 **/
	@RequestMapping(value = "station/query", method = RequestMethod.POST)
	@ResponseBody
	ResultEntity queryStation(@RequestBody QueryParamDto queryParamDto);
	
	/** 获取站点下的仪器信息 **/
	@RequestMapping(value = "outSide/queryEquipments", method = RequestMethod.GET)
	ResultEntity queryEquipments(@RequestParam("stationMn") String stationMn);
}
